package com.ldp.designpatterns.study.adapter.demo;

import com.ldp.designpatterns.study.adapter.demo.impl.AudioPlayer;

/**
 * @ClassName AdapterTest
 * @Description TODO
 * @Author lindipei
 * @Date 2023/10/17 10:28
 */
public class AdapterTest {
    public static void main(String[] args) {
        AudioPlayer audioPlayer = new AudioPlayer();

        audioPlayer.play("mp3", "beyond the horizon.mp3");
        audioPlayer.play("mp4", "alone.mp4");
        audioPlayer.play("vlc", "far far away.vlc");
        audioPlayer.play("avi", "mind me.avi");
    }
}
